//
//  SJRefreshFooter.m
//  Recycling
//
//  Created by jzd on 2018/5/28.
//  Copyright © 2018年 宋佳. All rights reserved.
//

#import "SJRefreshFooter.h"

@implementation SJRefreshFooter

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        // 设置文字
        [self setTitle:@"上拉加载更多数据" forState:MJRefreshStateIdle];
        [self setTitle:@"松开加载更多数据" forState:MJRefreshStatePulling];
        [self setTitle:@"努力加载更多数据..." forState:MJRefreshStateRefreshing];
        
        // 设置字体
        self.stateLabel.font = [UIFont systemFontOfSize:15];
    }
    return self;
}

@end
